|
Posizione nel menu |
---|
EM → FHEquiv |
Ambiente |
EM (add-on) |
Avvio veloce |
E E |
Introdotto nella versione |
0.17 |
Vedere anche |
EM FHNode, EM FHSegment, EM FHPath, EM FHPlane, EM FHPort, |
The FHEquiv tool short-circuits two FHNode objects.
FastHenry FHEquiv
The FHEquiv object is based on the two existing FHNodes that it will short-circuit.
See also: FreeCAD Scripting Basics.
The FHEquiv object can be used in macros and from the Python console by using the following function:
equiv = makeFHEquiv(node1=None,node2=None,name='FHEquiv')
FHEquiv
object.node1
is the first node FHNode object to short-circuit.node2
is the second node FHNode object to short-circuit.name
is the name of the objectEsempio:
import FreeCAD, EM
fhnode1 = EM.makeFHNode(X=1.0,Y=0,Z=0)
fhnode2 = EM.makeFHNode(X=0,Y=1.0,Z=0)
fhequiv = EM.makeFHEquiv(fhnode1, fhnode2)